/*******************************************************************************
    Copyright (c) 1993-2020, NVIDIA CORPORATION. All rights reserved.

    Permission is hereby granted, free of charge, to any person obtaining a
    copy of this software and associated documentation files (the "Software"),
    to deal in the Software without restriction, including without limitation
    the rights to use, copy, modify, merge, publish, distribute, sublicense,
    and/or sell copies of the Software, and to permit persons to whom the
    Software is furnished to do so, subject to the following conditions:

    The above copyright notice and this permission notice shall be included in
    all copies or substantial portions of the Software.

    THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
    IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
    FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL
    THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
    LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
    FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
    DEALINGS IN THE SOFTWARE.

*******************************************************************************/

#ifndef _clc5b0_h_
#define _clc5b0_h_

#ifdef __cplusplus
extern "C" {
#endif

#define NVC5B0_VIDEO_DECODER                                                       (0x0000C5B0)



#define NVC5B0_NOP                                                              (0x00000100)
#define NVC5B0_NOP_PARAMETER                                                    31:0
#define NVC5B0_SET_APPLICATION_ID                                               (0x00000200)
#define NVC5B0_SET_APPLICATION_ID_ID                                            31:0
#define NVC5B0_SET_APPLICATION_ID_ID_MPEG12                                     (0x00000001)
#define NVC5B0_SET_APPLICATION_ID_ID_VC1                                        (0x00000002)
#define NVC5B0_SET_APPLICATION_ID_ID_H264                                       (0x00000003)
#define NVC5B0_SET_APPLICATION_ID_ID_MPEG4                                      (0x00000004)
#define NVC5B0_SET_APPLICATION_ID_ID_VP8                                        (0x00000005)
#define NVC5B0_SET_APPLICATION_ID_ID_HEVC                                       (0x00000007)
#define NVC5B0_SET_APPLICATION_ID_ID_VP9                                        (0x00000009)
#define NVC5B0_SET_APPLICATION_ID_ID_HEVC_PARSER                                (0x0000000C)
#define NVC5B0_SET_WATCHDOG_TIMER                                               (0x00000204)
#define NVC5B0_SET_WATCHDOG_TIMER_TIMER                                         31:0
#define NVC5B0_SEMAPHORE_A                                                      (0x00000240)
#define NVC5B0_SEMAPHORE_A_UPPER                                                7:0
#define NVC5B0_SEMAPHORE_B                                                      (0x00000244)
#define NVC5B0_SEMAPHORE_B_LOWER                                                31:0
#define NVC5B0_SEMAPHORE_C                                                      (0x00000248)
#define NVC5B0_SEMAPHORE_C_PAYLOAD                                              31:0
#define NVC5B0_CTX_SAVE_AREA                                                    (0x0000024C)
#define NVC5B0_CTX_SAVE_AREA_OFFSET                                             31:0
#define NVC5B0_CTX_SWITCH                                                       (0x00000250)
#define NVC5B0_CTX_SWITCH_OP                                                    1:0
#define NVC5B0_CTX_SWITCH_OP_CTX_UPDATE                                         (0x00000000)
#define NVC5B0_CTX_SWITCH_OP_CTX_SAVE                                           (0x00000001)
#define NVC5B0_CTX_SWITCH_OP_CTX_RESTORE                                        (0x00000002)
#define NVC5B0_CTX_SWITCH_OP_CTX_FORCERESTORE                                   (0x00000003)
#define NVC5B0_CTX_SWITCH_CTXID_VALID                                           2:2
#define NVC5B0_CTX_SWITCH_CTXID_VALID_FALSE                                     (0x00000000)
#define NVC5B0_CTX_SWITCH_CTXID_VALID_TRUE                                      (0x00000001)
#define NVC5B0_CTX_SWITCH_RESERVED0                                             7:3
#define NVC5B0_CTX_SWITCH_CTX_ID                                                23:8
#define NVC5B0_CTX_SWITCH_RESERVED1                                             31:24
#define NVC5B0_EXECUTE                                                          (0x00000300)
#define NVC5B0_EXECUTE_NOTIFY                                                   0:0
#define NVC5B0_EXECUTE_NOTIFY_DISABLE                                           (0x00000000)
#define NVC5B0_EXECUTE_NOTIFY_ENABLE                                            (0x00000001)
#define NVC5B0_EXECUTE_NOTIFY_ON                                                1:1
#define NVC5B0_EXECUTE_NOTIFY_ON_END                                            (0x00000000)
#define NVC5B0_EXECUTE_NOTIFY_ON_BEGIN                                          (0x00000001)
#define NVC5B0_EXECUTE_AWAKEN                                                   8:8
#define NVC5B0_EXECUTE_AWAKEN_DISABLE                                           (0x00000000)
#define NVC5B0_EXECUTE_AWAKEN_ENABLE                                            (0x00000001)
#define NVC5B0_SEMAPHORE_D                                                      (0x00000304)
#define NVC5B0_SEMAPHORE_D_STRUCTURE_SIZE                                       0:0
#define NVC5B0_SEMAPHORE_D_STRUCTURE_SIZE_ONE                                   (0x00000000)
#define NVC5B0_SEMAPHORE_D_STRUCTURE_SIZE_FOUR                                  (0x00000001)
#define NVC5B0_SEMAPHORE_D_AWAKEN_ENABLE                                        8:8
#define NVC5B0_SEMAPHORE_D_AWAKEN_ENABLE_FALSE                                  (0x00000000)
#define NVC5B0_SEMAPHORE_D_AWAKEN_ENABLE_TRUE                                   (0x00000001)
#define NVC5B0_SEMAPHORE_D_OPERATION                                            17:16
#define NVC5B0_SEMAPHORE_D_OPERATION_RELEASE                                    (0x00000000)
#define NVC5B0_SEMAPHORE_D_OPERATION_RESERVED0                                  (0x00000001)
#define NVC5B0_SEMAPHORE_D_OPERATION_RESERVED1                                  (0x00000002)
#define NVC5B0_SEMAPHORE_D_OPERATION_TRAP                                       (0x00000003)
#define NVC5B0_SEMAPHORE_D_FLUSH_DISABLE                                        21:21
#define NVC5B0_SEMAPHORE_D_FLUSH_DISABLE_FALSE                                  (0x00000000)
#define NVC5B0_SEMAPHORE_D_FLUSH_DISABLE_TRUE                                   (0x00000001)
#define NVC5B0_SET_CONTROL_PARAMS                                               (0x00000400)
#define NVC5B0_SET_CONTROL_PARAMS_CODEC_TYPE                                    3:0
#define NVC5B0_SET_CONTROL_PARAMS_CODEC_TYPE_MPEG1                              (0x00000000)
#define NVC5B0_SET_CONTROL_PARAMS_CODEC_TYPE_MPEG2                              (0x00000001)
#define NVC5B0_SET_CONTROL_PARAMS_CODEC_TYPE_VC1                                (0x00000002)
#define NVC5B0_SET_CONTROL_PARAMS_CODEC_TYPE_H264                               (0x00000003)
#define NVC5B0_SET_CONTROL_PARAMS_CODEC_TYPE_MPEG4                              (0x00000004)
#define NVC5B0_SET_CONTROL_PARAMS_CODEC_TYPE_DIVX3                              (0x00000004)
#define NVC5B0_SET_CONTROL_PARAMS_CODEC_TYPE_VP8                                (0x00000005)
#define NVC5B0_SET_CONTROL_PARAMS_CODEC_TYPE_HEVC                               (0x00000007)
#define NVC5B0_SET_CONTROL_PARAMS_CODEC_TYPE_VP9                                (0x00000009)
#define NVC5B0_SET_CONTROL_PARAMS_GPTIMER_ON                                    4:4
#define NVC5B0_SET_CONTROL_PARAMS_RET_ERROR                                     5:5
#define NVC5B0_SET_CONTROL_PARAMS_ERR_CONCEAL_ON                                6:6
#define NVC5B0_SET_CONTROL_PARAMS_ERROR_FRM_IDX                                 12:7
#define NVC5B0_SET_CONTROL_PARAMS_MBTIMER_ON                                    13:13
#define NVC5B0_SET_CONTROL_PARAMS_EC_INTRA_FRAME_USING_PSLC                     14:14
#define NVC5B0_SET_CONTROL_PARAMS_ALL_INTRA_FRAME                               17:17
#define NVC5B0_SET_CONTROL_PARAMS_RESERVED                                      31:18
#define NVC5B0_SET_DRV_PIC_SETUP_OFFSET                                         (0x00000404)
#define NVC5B0_SET_DRV_PIC_SETUP_OFFSET_OFFSET                                  31:0
#define NVC5B0_SET_IN_BUF_BASE_OFFSET                                           (0x00000408)
#define NVC5B0_SET_IN_BUF_BASE_OFFSET_OFFSET                                    31:0
#define NVC5B0_SET_PICTURE_INDEX                                                (0x0000040C)
#define NVC5B0_SET_PICTURE_INDEX_INDEX                                          31:0
#define NVC5B0_SET_SLICE_OFFSETS_BUF_OFFSET                                     (0x00000410)
#define NVC5B0_SET_SLICE_OFFSETS_BUF_OFFSET_OFFSET                              31:0
#define NVC5B0_SET_COLOC_DATA_OFFSET                                            (0x00000414)
#define NVC5B0_SET_COLOC_DATA_OFFSET_OFFSET                                     31:0
#define NVC5B0_SET_HISTORY_OFFSET                                               (0x00000418)
#define NVC5B0_SET_HISTORY_OFFSET_OFFSET                                        31:0
#define NVC5B0_SET_DISPLAY_BUF_SIZE                                             (0x0000041C)
#define NVC5B0_SET_DISPLAY_BUF_SIZE_SIZE                                        31:0
#define NVC5B0_SET_HISTOGRAM_OFFSET                                             (0x00000420)
#define NVC5B0_SET_HISTOGRAM_OFFSET_OFFSET                                      31:0
#define NVC5B0_SET_NVDEC_STATUS_OFFSET                                          (0x00000424)
#define NVC5B0_SET_NVDEC_STATUS_OFFSET_OFFSET                                   31:0
#define NVC5B0_SET_DISPLAY_BUF_LUMA_OFFSET                                      (0x00000428)
#define NVC5B0_SET_DISPLAY_BUF_LUMA_OFFSET_OFFSET                               31:0
#define NVC5B0_SET_DISPLAY_BUF_CHROMA_OFFSET                                    (0x0000042C)
#define NVC5B0_SET_DISPLAY_BUF_CHROMA_OFFSET_OFFSET                             31:0
#define NVC5B0_SET_PICTURE_LUMA_OFFSET0                                         (0x00000430)
#define NVC5B0_SET_PICTURE_LUMA_OFFSET0_OFFSET                                  31:0
#define NVC5B0_SET_PICTURE_LUMA_OFFSET1                                         (0x00000434)
#define NVC5B0_SET_PICTURE_LUMA_OFFSET1_OFFSET                                  31:0
#define NVC5B0_SET_PICTURE_LUMA_OFFSET2                                         (0x00000438)
#define NVC5B0_SET_PICTURE_LUMA_OFFSET2_OFFSET                                  31:0
#define NVC5B0_SET_PICTURE_LUMA_OFFSET3                                         (0x0000043C)
#define NVC5B0_SET_PICTURE_LUMA_OFFSET3_OFFSET                                  31:0
#define NVC5B0_SET_PICTURE_LUMA_OFFSET4                                         (0x00000440)
#define NVC5B0_SET_PICTURE_LUMA_OFFSET4_OFFSET                                  31:0
#define NVC5B0_SET_PICTURE_LUMA_OFFSET5                                         (0x00000444)
#define NVC5B0_SET_PICTURE_LUMA_OFFSET5_OFFSET                                  31:0
#define NVC5B0_SET_PICTURE_LUMA_OFFSET6                                         (0x00000448)
#define NVC5B0_SET_PICTURE_LUMA_OFFSET6_OFFSET                                  31:0
#define NVC5B0_SET_PICTURE_LUMA_OFFSET7                                         (0x0000044C)
#define NVC5B0_SET_PICTURE_LUMA_OFFSET7_OFFSET                                  31:0
#define NVC5B0_SET_PICTURE_LUMA_OFFSET8                                         (0x00000450)
#define NVC5B0_SET_PICTURE_LUMA_OFFSET8_OFFSET                                  31:0
#define NVC5B0_SET_PICTURE_LUMA_OFFSET9                                         (0x00000454)
#define NVC5B0_SET_PICTURE_LUMA_OFFSET9_OFFSET                                  31:0
#define NVC5B0_SET_PICTURE_LUMA_OFFSET10                                        (0x00000458)
#define NVC5B0_SET_PICTURE_LUMA_OFFSET10_OFFSET                                 31:0
#define NVC5B0_SET_PICTURE_LUMA_OFFSET11                                        (0x0000045C)
#define NVC5B0_SET_PICTURE_LUMA_OFFSET11_OFFSET                                 31:0
#define NVC5B0_SET_PICTURE_LUMA_OFFSET12                                        (0x00000460)
#define NVC5B0_SET_PICTURE_LUMA_OFFSET12_OFFSET                                 31:0
#define NVC5B0_SET_PICTURE_LUMA_OFFSET13                                        (0x00000464)
#define NVC5B0_SET_PICTURE_LUMA_OFFSET13_OFFSET                                 31:0
#define NVC5B0_SET_PICTURE_LUMA_OFFSET14                                        (0x00000468)
#define NVC5B0_SET_PICTURE_LUMA_OFFSET14_OFFSET                                 31:0
#define NVC5B0_SET_PICTURE_LUMA_OFFSET15                                        (0x0000046C)
#define NVC5B0_SET_PICTURE_LUMA_OFFSET15_OFFSET                                 31:0
#define NVC5B0_SET_PICTURE_LUMA_OFFSET16                                        (0x00000470)
#define NVC5B0_SET_PICTURE_LUMA_OFFSET16_OFFSET                                 31:0
#define NVC5B0_SET_PICTURE_CHROMA_OFFSET0                                       (0x00000474)
#define NVC5B0_SET_PICTURE_CHROMA_OFFSET0_OFFSET                                31:0
#define NVC5B0_SET_PICTURE_CHROMA_OFFSET1                                       (0x00000478)
#define NVC5B0_SET_PICTURE_CHROMA_OFFSET1_OFFSET                                31:0
#define NVC5B0_SET_PICTURE_CHROMA_OFFSET2                                       (0x0000047C)
#define NVC5B0_SET_PICTURE_CHROMA_OFFSET2_OFFSET                                31:0
#define NVC5B0_SET_PICTURE_CHROMA_OFFSET3                                       (0x00000480)
#define NVC5B0_SET_PICTURE_CHROMA_OFFSET3_OFFSET                                31:0
#define NVC5B0_SET_PICTURE_CHROMA_OFFSET4                                       (0x00000484)
#define NVC5B0_SET_PICTURE_CHROMA_OFFSET4_OFFSET                                31:0
#define NVC5B0_SET_PICTURE_CHROMA_OFFSET5                                       (0x00000488)
#define NVC5B0_SET_PICTURE_CHROMA_OFFSET5_OFFSET                                31:0
#define NVC5B0_SET_PICTURE_CHROMA_OFFSET6                                       (0x0000048C)
#define NVC5B0_SET_PICTURE_CHROMA_OFFSET6_OFFSET                                31:0
#define NVC5B0_SET_PICTURE_CHROMA_OFFSET7                                       (0x00000490)
#define NVC5B0_SET_PICTURE_CHROMA_OFFSET7_OFFSET                                31:0
#define NVC5B0_SET_PICTURE_CHROMA_OFFSET8                                       (0x00000494)
#define NVC5B0_SET_PICTURE_CHROMA_OFFSET8_OFFSET                                31:0
#define NVC5B0_SET_PICTURE_CHROMA_OFFSET9                                       (0x00000498)
#define NVC5B0_SET_PICTURE_CHROMA_OFFSET9_OFFSET                                31:0
#define NVC5B0_SET_PICTURE_CHROMA_OFFSET10                                      (0x0000049C)
#define NVC5B0_SET_PICTURE_CHROMA_OFFSET10_OFFSET                               31:0
#define NVC5B0_SET_PICTURE_CHROMA_OFFSET11                                      (0x000004A0)
#define NVC5B0_SET_PICTURE_CHROMA_OFFSET11_OFFSET                               31:0
#define NVC5B0_SET_PICTURE_CHROMA_OFFSET12                                      (0x000004A4)
#define NVC5B0_SET_PICTURE_CHROMA_OFFSET12_OFFSET                               31:0
#define NVC5B0_SET_PICTURE_CHROMA_OFFSET13                                      (0x000004A8)
#define NVC5B0_SET_PICTURE_CHROMA_OFFSET13_OFFSET                               31:0
#define NVC5B0_SET_PICTURE_CHROMA_OFFSET14                                      (0x000004AC)
#define NVC5B0_SET_PICTURE_CHROMA_OFFSET14_OFFSET                               31:0
#define NVC5B0_SET_PICTURE_CHROMA_OFFSET15                                      (0x000004B0)
#define NVC5B0_SET_PICTURE_CHROMA_OFFSET15_OFFSET                               31:0
#define NVC5B0_SET_PICTURE_CHROMA_OFFSET16                                      (0x000004B4)
#define NVC5B0_SET_PICTURE_CHROMA_OFFSET16_OFFSET                               31:0
#define NVC5B0_SET_PIC_SCRATCH_BUF_OFFSET                                       (0x000004B8)
#define NVC5B0_SET_PIC_SCRATCH_BUF_OFFSET_OFFSET                                31:0
#define NVC5B0_SET_EXTERNAL_MVBUFFER_OFFSET                                     (0x000004BC)
#define NVC5B0_SET_EXTERNAL_MVBUFFER_OFFSET_OFFSET                              31:0
#define NVC5B0_H264_SET_MBHIST_BUF_OFFSET                                       (0x00000500)
#define NVC5B0_H264_SET_MBHIST_BUF_OFFSET_OFFSET                                31:0
#define NVC5B0_VP8_SET_PROB_DATA_OFFSET                                         (0x00000540)
#define NVC5B0_VP8_SET_PROB_DATA_OFFSET_OFFSET                                  31:0
#define NVC5B0_VP8_SET_HEADER_PARTITION_BUF_BASE_OFFSET                         (0x00000544)
#define NVC5B0_VP8_SET_HEADER_PARTITION_BUF_BASE_OFFSET_OFFSET                  31:0
#define NVC5B0_HEVC_SET_SCALING_LIST_OFFSET                                     (0x00000580)
#define NVC5B0_HEVC_SET_SCALING_LIST_OFFSET_OFFSET                              31:0
#define NVC5B0_HEVC_SET_TILE_SIZES_OFFSET                                       (0x00000584)
#define NVC5B0_HEVC_SET_TILE_SIZES_OFFSET_OFFSET                                31:0
#define NVC5B0_HEVC_SET_FILTER_BUFFER_OFFSET                                    (0x00000588)
#define NVC5B0_HEVC_SET_FILTER_BUFFER_OFFSET_OFFSET                             31:0
#define NVC5B0_HEVC_SET_SAO_BUFFER_OFFSET                                       (0x0000058C)
#define NVC5B0_HEVC_SET_SAO_BUFFER_OFFSET_OFFSET                                31:0
#define NVC5B0_HEVC_SET_SLICE_INFO_BUFFER_OFFSET                                (0x00000590)
#define NVC5B0_HEVC_SET_SLICE_INFO_BUFFER_OFFSET_OFFSET                         31:0
#define NVC5B0_HEVC_SET_SLICE_GROUP_INDEX                                       (0x00000594)
#define NVC5B0_HEVC_SET_SLICE_GROUP_INDEX_OFFSET                                31:0
#define NVC5B0_VP9_SET_PROB_TAB_BUF_OFFSET                                      (0x000005C0)
#define NVC5B0_VP9_SET_PROB_TAB_BUF_OFFSET_OFFSET                               31:0
#define NVC5B0_VP9_SET_CTX_COUNTER_BUF_OFFSET                                   (0x000005C4)
#define NVC5B0_VP9_SET_CTX_COUNTER_BUF_OFFSET_OFFSET                            31:0
#define NVC5B0_VP9_SET_SEGMENT_READ_BUF_OFFSET                                  (0x000005C8)
#define NVC5B0_VP9_SET_SEGMENT_READ_BUF_OFFSET_OFFSET                           31:0
#define NVC5B0_VP9_SET_SEGMENT_WRITE_BUF_OFFSET                                 (0x000005CC)
#define NVC5B0_VP9_SET_SEGMENT_WRITE_BUF_OFFSET_OFFSET                          31:0
#define NVC5B0_VP9_SET_TILE_SIZE_BUF_OFFSET                                     (0x000005D0)
#define NVC5B0_VP9_SET_TILE_SIZE_BUF_OFFSET_OFFSET                              31:0
#define NVC5B0_VP9_SET_COL_MVWRITE_BUF_OFFSET                                   (0x000005D4)
#define NVC5B0_VP9_SET_COL_MVWRITE_BUF_OFFSET_OFFSET                            31:0
#define NVC5B0_VP9_SET_COL_MVREAD_BUF_OFFSET                                    (0x000005D8)
#define NVC5B0_VP9_SET_COL_MVREAD_BUF_OFFSET_OFFSET                             31:0
#define NVC5B0_VP9_SET_FILTER_BUFFER_OFFSET                                     (0x000005DC)
#define NVC5B0_VP9_SET_FILTER_BUFFER_OFFSET_OFFSET                              31:0

#define NVC5B0_ERROR_NONE                                                       (0x00000000)
#define NVC5B0_OS_ERROR_EXECUTE_INSUFFICIENT_DATA                               (0x00000001)
#define NVC5B0_OS_ERROR_SEMAPHORE_INSUFFICIENT_DATA                             (0x00000002)
#define NVC5B0_OS_ERROR_INVALID_METHOD                                          (0x00000003)
#define NVC5B0_OS_ERROR_INVALID_DMA_PAGE                                        (0x00000004)
#define NVC5B0_OS_ERROR_UNHANDLED_INTERRUPT                                     (0x00000005)
#define NVC5B0_OS_ERROR_EXCEPTION                                               (0x00000006)
#define NVC5B0_OS_ERROR_INVALID_CTXSW_REQUEST                                   (0x00000007)
#define NVC5B0_OS_ERROR_APPLICATION                                             (0x00000008)
#define NVC5B0_OS_ERROR_SW_BREAKPT                                              (0x00000009)
#define NVC5B0_OS_INTERRUPT_EXECUTE_AWAKEN                                      (0x00000100)
#define NVC5B0_OS_INTERRUPT_BACKEND_SEMAPHORE_AWAKEN                            (0x00000200)
#define NVC5B0_OS_INTERRUPT_CTX_ERROR_FBIF                                      (0x00000300)
#define NVC5B0_OS_INTERRUPT_LIMIT_VIOLATION                                     (0x00000400)
#define NVC5B0_OS_INTERRUPT_LIMIT_AND_FBIF_CTX_ERROR                            (0x00000500)
#define NVC5B0_OS_INTERRUPT_HALT_ENGINE                                         (0x00000600)
#define NVC5B0_OS_INTERRUPT_TRAP_NONSTALL                                       (0x00000700)
#define NVC5B0_H264_VLD_ERR_SEQ_DATA_INCONSISTENT                               (0x00004001)
#define NVC5B0_H264_VLD_ERR_PIC_DATA_INCONSISTENT                               (0x00004002)
#define NVC5B0_H264_VLD_ERR_SLC_DATA_BUF_ADDR_OUT_OF_BOUNDS                     (0x00004100)
#define NVC5B0_H264_VLD_ERR_BITSTREAM_ERROR                                     (0x00004101)
#define NVC5B0_H264_VLD_ERR_CTX_DMA_ID_CTRL_IN_INVALID                          (0x000041F8)
#define NVC5B0_H264_VLD_ERR_SLC_HDR_OUT_SIZE_NOT_MULT256                        (0x00004200)
#define NVC5B0_H264_VLD_ERR_SLC_DATA_OUT_SIZE_NOT_MULT256                       (0x00004201)
#define NVC5B0_H264_VLD_ERR_CTX_DMA_ID_FLOW_CTRL_INVALID                        (0x00004203)
#define NVC5B0_H264_VLD_ERR_CTX_DMA_ID_SLC_HDR_OUT_INVALID                      (0x00004204)
#define NVC5B0_H264_VLD_ERR_SLC_HDR_OUT_BUF_TOO_SMALL                           (0x00004205)
#define NVC5B0_H264_VLD_ERR_SLC_HDR_OUT_BUF_ALREADY_VALID                       (0x00004206)
#define NVC5B0_H264_VLD_ERR_SLC_DATA_OUT_BUF_TOO_SMALL                          (0x00004207)
#define NVC5B0_H264_VLD_ERR_DATA_BUF_CNT_TOO_SMALL                              (0x00004208)
#define NVC5B0_H264_VLD_ERR_BITSTREAM_EMPTY                                     (0x00004209)
#define NVC5B0_H264_VLD_ERR_FRAME_WIDTH_TOO_LARGE                               (0x0000420A)
#define NVC5B0_H264_VLD_ERR_FRAME_HEIGHT_TOO_LARGE                              (0x0000420B)
#define NVC5B0_H264_VLD_ERR_HIST_BUF_TOO_SMALL                                  (0x00004300)
#define NVC5B0_VC1_VLD_ERR_PIC_DATA_BUF_ADDR_OUT_OF_BOUND                       (0x00005100)
#define NVC5B0_VC1_VLD_ERR_BITSTREAM_ERROR                                      (0x00005101)
#define NVC5B0_VC1_VLD_ERR_PIC_HDR_OUT_SIZE_NOT_MULT256                         (0x00005200)
#define NVC5B0_VC1_VLD_ERR_PIC_DATA_OUT_SIZE_NOT_MULT256                        (0x00005201)
#define NVC5B0_VC1_VLD_ERR_CTX_DMA_ID_CTRL_IN_INVALID                           (0x00005202)
#define NVC5B0_VC1_VLD_ERR_CTX_DMA_ID_FLOW_CTRL_INVALID                         (0x00005203)
#define NVC5B0_VC1_VLD_ERR_CTX_DMA_ID_PIC_HDR_OUT_INVALID                       (0x00005204)
#define NVC5B0_VC1_VLD_ERR_SLC_HDR_OUT_BUF_TOO_SMALL                            (0x00005205)
#define NVC5B0_VC1_VLD_ERR_PIC_HDR_OUT_BUF_ALREADY_VALID                        (0x00005206)
#define NVC5B0_VC1_VLD_ERR_PIC_DATA_OUT_BUF_TOO_SMALL                           (0x00005207)
#define NVC5B0_VC1_VLD_ERR_DATA_INFO_IN_BUF_TOO_SMALL                           (0x00005208)
#define NVC5B0_VC1_VLD_ERR_BITSTREAM_EMPTY                                      (0x00005209)
#define NVC5B0_VC1_VLD_ERR_FRAME_WIDTH_TOO_LARGE                                (0x0000520A)
#define NVC5B0_VC1_VLD_ERR_FRAME_HEIGHT_TOO_LARGE                               (0x0000520B)
#define NVC5B0_VC1_VLD_ERR_PIC_DATA_OUT_BUF_FULL_TIME_OUT                       (0x00005300)
#define NVC5B0_MPEG12_VLD_ERR_SLC_DATA_BUF_ADDR_OUT_OF_BOUNDS                   (0x00006100)
#define NVC5B0_MPEG12_VLD_ERR_BITSTREAM_ERROR                                   (0x00006101)
#define NVC5B0_MPEG12_VLD_ERR_SLC_DATA_OUT_SIZE_NOT_MULT256                     (0x00006200)
#define NVC5B0_MPEG12_VLD_ERR_CTX_DMA_ID_CTRL_IN_INVALID                        (0x00006201)
#define NVC5B0_MPEG12_VLD_ERR_CTX_DMA_ID_FLOW_CTRL_INVALID                      (0x00006202)
#define NVC5B0_MPEG12_VLD_ERR_SLC_DATA_OUT_BUF_TOO_SMALL                        (0x00006203)
#define NVC5B0_MPEG12_VLD_ERR_DATA_INFO_IN_BUF_TOO_SMALL                        (0x00006204)
#define NVC5B0_MPEG12_VLD_ERR_BITSTREAM_EMPTY                                   (0x00006205)
#define NVC5B0_MPEG12_VLD_ERR_INVALID_PIC_STRUCTURE                             (0x00006206)
#define NVC5B0_MPEG12_VLD_ERR_INVALID_PIC_CODING_TYPE                           (0x00006207)
#define NVC5B0_MPEG12_VLD_ERR_FRAME_WIDTH_TOO_LARGE                             (0x00006208)
#define NVC5B0_MPEG12_VLD_ERR_FRAME_HEIGHT_TOO_LARGE                            (0x00006209)
#define NVC5B0_MPEG12_VLD_ERR_SLC_DATA_OUT_BUF_FULL_TIME_OUT                    (0x00006300)
#define NVC5B0_CMN_VLD_ERR_PDEC_RETURNED_ERROR                                  (0x00007101)
#define NVC5B0_CMN_VLD_ERR_EDOB_FLUSH_TIME_OUT                                  (0x00007102)
#define NVC5B0_CMN_VLD_ERR_EDOB_REWIND_TIME_OUT                                 (0x00007103)
#define NVC5B0_CMN_VLD_ERR_VLD_WD_TIME_OUT                                      (0x00007104)
#define NVC5B0_CMN_VLD_ERR_NUM_SLICES_ZERO                                      (0x00007105)
#define NVC5B0_MPEG4_VLD_ERR_PIC_DATA_BUF_ADDR_OUT_OF_BOUND                     (0x00008100)
#define NVC5B0_MPEG4_VLD_ERR_BITSTREAM_ERROR                                    (0x00008101)
#define NVC5B0_MPEG4_VLD_ERR_PIC_HDR_OUT_SIZE_NOT_MULT256                       (0x00008200)
#define NVC5B0_MPEG4_VLD_ERR_PIC_DATA_OUT_SIZE_NOT_MULT256                      (0x00008201)
#define NVC5B0_MPEG4_VLD_ERR_CTX_DMA_ID_CTRL_IN_INVALID                         (0x00008202)
#define NVC5B0_MPEG4_VLD_ERR_CTX_DMA_ID_FLOW_CTRL_INVALID                       (0x00008203)
#define NVC5B0_MPEG4_VLD_ERR_CTX_DMA_ID_PIC_HDR_OUT_INVALID                     (0x00008204)
#define NVC5B0_MPEG4_VLD_ERR_SLC_HDR_OUT_BUF_TOO_SMALL                          (0x00008205)
#define NVC5B0_MPEG4_VLD_ERR_PIC_HDR_OUT_BUF_ALREADY_VALID                      (0x00008206)
#define NVC5B0_MPEG4_VLD_ERR_PIC_DATA_OUT_BUF_TOO_SMALL                         (0x00008207)
#define NVC5B0_MPEG4_VLD_ERR_DATA_INFO_IN_BUF_TOO_SMALL                         (0x00008208)
#define NVC5B0_MPEG4_VLD_ERR_BITSTREAM_EMPTY                                    (0x00008209)
#define NVC5B0_MPEG4_VLD_ERR_FRAME_WIDTH_TOO_LARGE                              (0x0000820A)
#define NVC5B0_MPEG4_VLD_ERR_FRAME_HEIGHT_TOO_LARGE                             (0x0000820B)
#define NVC5B0_MPEG4_VLD_ERR_PIC_DATA_OUT_BUF_FULL_TIME_OUT                     (0x00051E01)
#define NVC5B0_DEC_ERROR_MPEG12_APPTIMER_EXPIRED                                (0xDEC10001)
#define NVC5B0_DEC_ERROR_MPEG12_MVTIMER_EXPIRED                                 (0xDEC10002)
#define NVC5B0_DEC_ERROR_MPEG12_INVALID_TOKEN                                   (0xDEC10003)
#define NVC5B0_DEC_ERROR_MPEG12_SLICEDATA_MISSING                               (0xDEC10004)
#define NVC5B0_DEC_ERROR_MPEG12_HWERR_INTERRUPT                                 (0xDEC10005)
#define NVC5B0_DEC_ERROR_MPEG12_DETECTED_VLD_FAILURE                            (0xDEC10006)
#define NVC5B0_DEC_ERROR_MPEG12_PICTURE_INIT                                    (0xDEC10100)
#define NVC5B0_DEC_ERROR_MPEG12_STATEMACHINE_FAILURE                            (0xDEC10101)
#define NVC5B0_DEC_ERROR_MPEG12_INVALID_CTXID_PIC                               (0xDEC10901)
#define NVC5B0_DEC_ERROR_MPEG12_INVALID_CTXID_UCODE                             (0xDEC10902)
#define NVC5B0_DEC_ERROR_MPEG12_INVALID_CTXID_FC                                (0xDEC10903)
#define NVC5B0_DEC_ERROR_MPEG12_INVALID_CTXID_SLH                               (0xDEC10904)
#define NVC5B0_DEC_ERROR_MPEG12_INVALID_UCODE_SIZE                              (0xDEC10905)
#define NVC5B0_DEC_ERROR_MPEG12_INVALID_SLICE_COUNT                             (0xDEC10906)
#define NVC5B0_DEC_ERROR_VC1_APPTIMER_EXPIRED                                   (0xDEC20001)
#define NVC5B0_DEC_ERROR_VC1_MVTIMER_EXPIRED                                    (0xDEC20002)
#define NVC5B0_DEC_ERROR_VC1_INVALID_TOKEN                                      (0xDEC20003)
#define NVC5B0_DEC_ERROR_VC1_SLICEDATA_MISSING                                  (0xDEC20004)
#define NVC5B0_DEC_ERROR_VC1_HWERR_INTERRUPT                                    (0xDEC20005)
#define NVC5B0_DEC_ERROR_VC1_DETECTED_VLD_FAILURE                               (0xDEC20006)
#define NVC5B0_DEC_ERROR_VC1_TIMEOUT_POLLING_FOR_DATA                           (0xDEC20007)
#define NVC5B0_DEC_ERROR_VC1_PDEC_PIC_END_UNALIGNED                             (0xDEC20008)
#define NVC5B0_DEC_ERROR_VC1_WDTIMER_EXPIRED                                    (0xDEC20009)
#define NVC5B0_DEC_ERROR_VC1_ERRINTSTART                                        (0xDEC20010)
#define NVC5B0_DEC_ERROR_VC1_IQT_ERRINT                                         (0xDEC20011)
#define NVC5B0_DEC_ERROR_VC1_MC_ERRINT                                          (0xDEC20012)
#define NVC5B0_DEC_ERROR_VC1_MC_IQT_ERRINT                                      (0xDEC20013)
#define NVC5B0_DEC_ERROR_VC1_REC_ERRINT                                         (0xDEC20014)
#define NVC5B0_DEC_ERROR_VC1_REC_IQT_ERRINT                                     (0xDEC20015)
#define NVC5B0_DEC_ERROR_VC1_REC_MC_ERRINT                                      (0xDEC20016)
#define NVC5B0_DEC_ERROR_VC1_REC_MC_IQT_ERRINT                                  (0xDEC20017)
#define NVC5B0_DEC_ERROR_VC1_DBF_ERRINT                                         (0xDEC20018)
#define NVC5B0_DEC_ERROR_VC1_DBF_IQT_ERRINT                                     (0xDEC20019)
#define NVC5B0_DEC_ERROR_VC1_DBF_MC_ERRINT                                      (0xDEC2001A)
#define NVC5B0_DEC_ERROR_VC1_DBF_MC_IQT_ERRINT                                  (0xDEC2001B)
#define NVC5B0_DEC_ERROR_VC1_DBF_REC_ERRINT                                     (0xDEC2001C)
#define NVC5B0_DEC_ERROR_VC1_DBF_REC_IQT_ERRINT                                 (0xDEC2001D)
#define NVC5B0_DEC_ERROR_VC1_DBF_REC_MC_ERRINT                                  (0xDEC2001E)
#define NVC5B0_DEC_ERROR_VC1_DBF_REC_MC_IQT_ERRINT                              (0xDEC2001F)
#define NVC5B0_DEC_ERROR_VC1_PICTURE_INIT                                       (0xDEC20100)
#define NVC5B0_DEC_ERROR_VC1_STATEMACHINE_FAILURE                               (0xDEC20101)
#define NVC5B0_DEC_ERROR_VC1_INVALID_CTXID_PIC                                  (0xDEC20901)
#define NVC5B0_DEC_ERROR_VC1_INVALID_CTXID_UCODE                                (0xDEC20902)
#define NVC5B0_DEC_ERROR_VC1_INVALID_CTXID_FC                                   (0xDEC20903)
#define NVC5B0_DEC_ERROR_VC1_INVAILD_CTXID_SLH                                  (0xDEC20904)
#define NVC5B0_DEC_ERROR_VC1_INVALID_UCODE_SIZE                                 (0xDEC20905)
#define NVC5B0_DEC_ERROR_VC1_INVALID_SLICE_COUNT                                (0xDEC20906)
#define NVC5B0_DEC_ERROR_H264_APPTIMER_EXPIRED                                  (0xDEC30001)
#define NVC5B0_DEC_ERROR_H264_MVTIMER_EXPIRED                                   (0xDEC30002)
#define NVC5B0_DEC_ERROR_H264_INVALID_TOKEN                                     (0xDEC30003)
#define NVC5B0_DEC_ERROR_H264_SLICEDATA_MISSING                                 (0xDEC30004)
#define NVC5B0_DEC_ERROR_H264_HWERR_INTERRUPT                                   (0xDEC30005)
#define NVC5B0_DEC_ERROR_H264_DETECTED_VLD_FAILURE                              (0xDEC30006)
#define NVC5B0_DEC_ERROR_H264_ERRINTSTART                                       (0xDEC30010)
#define NVC5B0_DEC_ERROR_H264_IQT_ERRINT                                        (0xDEC30011)
#define NVC5B0_DEC_ERROR_H264_MC_ERRINT                                         (0xDEC30012)
#define NVC5B0_DEC_ERROR_H264_MC_IQT_ERRINT                                     (0xDEC30013)
#define NVC5B0_DEC_ERROR_H264_REC_ERRINT                                        (0xDEC30014)
#define NVC5B0_DEC_ERROR_H264_REC_IQT_ERRINT                                    (0xDEC30015)
#define NVC5B0_DEC_ERROR_H264_REC_MC_ERRINT                                     (0xDEC30016)
#define NVC5B0_DEC_ERROR_H264_REC_MC_IQT_ERRINT                                 (0xDEC30017)
#define NVC5B0_DEC_ERROR_H264_DBF_ERRINT                                        (0xDEC30018)
#define NVC5B0_DEC_ERROR_H264_DBF_IQT_ERRINT                                    (0xDEC30019)
#define NVC5B0_DEC_ERROR_H264_DBF_MC_ERRINT                                     (0xDEC3001A)
#define NVC5B0_DEC_ERROR_H264_DBF_MC_IQT_ERRINT                                 (0xDEC3001B)
#define NVC5B0_DEC_ERROR_H264_DBF_REC_ERRINT                                    (0xDEC3001C)
#define NVC5B0_DEC_ERROR_H264_DBF_REC_IQT_ERRINT                                (0xDEC3001D)
#define NVC5B0_DEC_ERROR_H264_DBF_REC_MC_ERRINT                                 (0xDEC3001E)
#define NVC5B0_DEC_ERROR_H264_DBF_REC_MC_IQT_ERRINT                             (0xDEC3001F)
#define NVC5B0_DEC_ERROR_H264_PICTURE_INIT                                      (0xDEC30100)
#define NVC5B0_DEC_ERROR_H264_STATEMACHINE_FAILURE                              (0xDEC30101)
#define NVC5B0_DEC_ERROR_H264_INVALID_CTXID_PIC                                 (0xDEC30901)
#define NVC5B0_DEC_ERROR_H264_INVALID_CTXID_UCODE                               (0xDEC30902)
#define NVC5B0_DEC_ERROR_H264_INVALID_CTXID_FC                                  (0xDEC30903)
#define NVC5B0_DEC_ERROR_H264_INVALID_CTXID_SLH                                 (0xDEC30904)
#define NVC5B0_DEC_ERROR_H264_INVALID_UCODE_SIZE                                (0xDEC30905)
#define NVC5B0_DEC_ERROR_H264_INVALID_SLICE_COUNT                               (0xDEC30906)
#define NVC5B0_DEC_ERROR_MPEG4_APPTIMER_EXPIRED                                 (0xDEC40001)
#define NVC5B0_DEC_ERROR_MPEG4_MVTIMER_EXPIRED                                  (0xDEC40002)
#define NVC5B0_DEC_ERROR_MPEG4_INVALID_TOKEN                                    (0xDEC40003)
#define NVC5B0_DEC_ERROR_MPEG4_SLICEDATA_MISSING                                (0xDEC40004)
#define NVC5B0_DEC_ERROR_MPEG4_HWERR_INTERRUPT                                  (0xDEC40005)
#define NVC5B0_DEC_ERROR_MPEG4_DETECTED_VLD_FAILURE                             (0xDEC40006)
#define NVC5B0_DEC_ERROR_MPEG4_TIMEOUT_POLLING_FOR_DATA                         (0xDEC40007)
#define NVC5B0_DEC_ERROR_MPEG4_PDEC_PIC_END_UNALIGNED                           (0xDEC40008)
#define NVC5B0_DEC_ERROR_MPEG4_WDTIMER_EXPIRED                                  (0xDEC40009)
#define NVC5B0_DEC_ERROR_MPEG4_ERRINTSTART                                      (0xDEC40010)
#define NVC5B0_DEC_ERROR_MPEG4_IQT_ERRINT                                       (0xDEC40011)
#define NVC5B0_DEC_ERROR_MPEG4_MC_ERRINT                                        (0xDEC40012)
#define NVC5B0_DEC_ERROR_MPEG4_MC_IQT_ERRINT                                    (0xDEC40013)
#define NVC5B0_DEC_ERROR_MPEG4_REC_ERRINT                                       (0xDEC40014)
#define NVC5B0_DEC_ERROR_MPEG4_REC_IQT_ERRINT                                   (0xDEC40015)
#define NVC5B0_DEC_ERROR_MPEG4_REC_MC_ERRINT                                    (0xDEC40016)
#define NVC5B0_DEC_ERROR_MPEG4_REC_MC_IQT_ERRINT                                (0xDEC40017)
#define NVC5B0_DEC_ERROR_MPEG4_DBF_ERRINT                                       (0xDEC40018)
#define NVC5B0_DEC_ERROR_MPEG4_DBF_IQT_ERRINT                                   (0xDEC40019)
#define NVC5B0_DEC_ERROR_MPEG4_DBF_MC_ERRINT                                    (0xDEC4001A)
#define NVC5B0_DEC_ERROR_MPEG4_DBF_MC_IQT_ERRINT                                (0xDEC4001B)
#define NVC5B0_DEC_ERROR_MPEG4_DBF_REC_ERRINT                                   (0xDEC4001C)
#define NVC5B0_DEC_ERROR_MPEG4_DBF_REC_IQT_ERRINT                               (0xDEC4001D)
#define NVC5B0_DEC_ERROR_MPEG4_DBF_REC_MC_ERRINT                                (0xDEC4001E)
#define NVC5B0_DEC_ERROR_MPEG4_DBF_REC_MC_IQT_ERRINT                            (0xDEC4001F)
#define NVC5B0_DEC_ERROR_MPEG4_PICTURE_INIT                                     (0xDEC40100)
#define NVC5B0_DEC_ERROR_MPEG4_STATEMACHINE_FAILURE                             (0xDEC40101)
#define NVC5B0_DEC_ERROR_MPEG4_INVALID_CTXID_PIC                                (0xDEC40901)
#define NVC5B0_DEC_ERROR_MPEG4_INVALID_CTXID_UCODE                              (0xDEC40902)
#define NVC5B0_DEC_ERROR_MPEG4_INVALID_CTXID_FC                                 (0xDEC40903)
#define NVC5B0_DEC_ERROR_MPEG4_INVALID_CTXID_SLH                                (0xDEC40904)
#define NVC5B0_DEC_ERROR_MPEG4_INVALID_UCODE_SIZE                               (0xDEC40905)
#define NVC5B0_DEC_ERROR_MPEG4_INVALID_SLICE_COUNT                              (0xDEC40906)

#ifdef __cplusplus
};     /* extern "C" */
#endif
#endif // _clc5b0_h

